/** When your routing table is too long, you can split it into small modules**/

import Layout from '@/layout'

/**
 * 代码生成器
 */
const entRouter = {
  path: '/ent',
  component: Layout,
  redirect: '/permission/page',
  alwaysShow: true,
  meta: {
    title: '企业管理',
    icon: 'lock'
  },
  name: 'Ent',
  children: [
    {
      path: '/ent/info/index',
      component: () => import('@/views/ent/info/index'),
      name: 'EntInfo',
      meta: {
        title: '基本信息',
        icon: 'lock'
      }
    },
    {
      path: '/ent/info/add',
      component: () => import('@/views/ent/info/add'),
      name: 'EntInfoAdd', hidden: true,
      meta: {
        title: '基本信息新增',
        icon: 'lock'
      }
    },
    {
      path: '/ent/info/update',
      component: () => import('@/views/ent/info/update'),
      name: 'EntInfoUpdate', hidden: true,
      meta: {
        title: '基本信息修改',
        icon: 'lock'
      }
    },
    {
      path: '/ent/info/info',
      component: () => import('@/views/ent/info/info'),
      name: 'EntInfoView', hidden: true,
      meta: {
        title: '基本信息查看',
        icon: 'lock'
      }
    }

  ]
}

export default entRouter
